package com.lxmes.sales.service;

import java.util.List;
import com.lxmes.sales.domain.ZcQuotationDetails;

/**
 * 报价明细Service接口
 * 
 * @author lx
 * @date 2023-06-21
 */
public interface IZcQuotationDetailsService 
{
    /**
     * 查询报价明细
     * 
     * @param id 报价明细主键
     * @return 报价明细
     */
    public ZcQuotationDetails selectZcQuotationDetailsById(Long id);

    /**
     * 查询报价明细列表
     * 
     * @param zcQuotationDetails 报价明细
     * @return 报价明细集合
     */
    public List<ZcQuotationDetails> selectZcQuotationDetailsList(ZcQuotationDetails zcQuotationDetails);

    /**
     * 新增报价明细
     * 
     * @param zcQuotationDetails 报价明细
     * @return 结果
     */
    public int insertZcQuotationDetails(ZcQuotationDetails zcQuotationDetails);

    /**
     * 修改报价明细
     * 
     * @param zcQuotationDetails 报价明细
     * @return 结果
     */
    public int updateZcQuotationDetails(ZcQuotationDetails zcQuotationDetails);

    /**
     * 批量删除报价明细
     * 
     * @param ids 需要删除的报价明细主键集合
     * @return 结果
     */
    public int deleteZcQuotationDetailsByIds(Long[] ids);

    /**
     * 删除报价明细信息
     * 
     * @param id 报价明细主键
     * @return 结果
     */
    public int deleteZcQuotationDetailsById(Long id);
    /**
     * 导入报价明细信息
     *
     * @return 结果
     */
    String imporIteminfo(List<ZcQuotationDetails> zcQuotationDetailsList, boolean updateSupport, String operName);

    /**
     * 审核报价明细
     * @param zcQuotationDetails
     * @param audit
     * @return
     */
    int auditZcQuotationDetails(ZcQuotationDetails zcQuotationDetails, String audit);
}
